<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>支付状态</title>
    <script type="text/javascript" src="jquery-3.5.1.min.js"></script>
</head>
<body>
<h1>订单号：<span th:text="${seckillOrderId}"></span> -- 支付状态：<span th:text="${msg}"></span></h1>
<a href="javascript:orderList()">我的订单列表</a>

</body>
</html>

<script type="text/javascript" th:inline="javascript">
    function orderList() {
        window.location.href = "/seckill/order/now/[(${userId})]";
    }
</script>